//
//  DetailViewController.h
//  WorkManager
//
//  Created by iD Student on 7/17/12.
//  Copyright (c) 2012 iD Student. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppointmentReport.h"
#import "DateSelectionViewController.h"
@interface DetailViewController : UITableViewController <UITextFieldDelegate>

@property (nonatomic, retain) AppointmentReport *appointmentReport;
@property (retain, nonatomic) IBOutlet UITextField *nameField;
@property (retain, nonatomic) IBOutlet UITextField *emailField;
@property (retain, nonatomic) IBOutlet UITextField *phoneField;
@property (retain, nonatomic) IBOutlet UITextField *addressField;
@property (retain, nonatomic) IBOutlet UITextField *townField;
@property (retain, nonatomic) IBOutlet UITextField *stateField;
@property (retain, nonatomic) IBOutlet UILabel *timeLabel;
@property (retain, nonatomic) IBOutlet UILabel *dateLabel;
@property (retain, nonatomic) IBOutlet UITableViewCell *timeAndDateCell;
@property (retain, nonatomic) IBOutlet UITextView *workRequestDetailsTextView;
@property (retain, nonatomic) IBOutlet UITextView *workReportTextView;
@property (retain, nonatomic) IBOutlet UITextField *rateField;
@property (retain, nonatomic) IBOutlet UITextField *amountField;
@property (retain, nonatomic) IBOutlet UITextField *hoursWorkedField;
@property (retain, nonatomic) IBOutlet UITableViewCell *paymentTypeCell;
@property (retain, nonatomic) IBOutlet UITableViewCell *signatureCell;

- (IBAction)resignFirstResponders:(id)sender;
- (IBAction)addToCalendar:(id)sender;

- (void)textFieldDidBeginEditing:(UITextField *)textField;
- (void)textFieldDidEndEditing:(UITextField *)textField;

@end
